package com.cnhonker.edu.system.dao;

import com.cnhonker.edu.core.dao.BaseDaoImpl;
import com.cnhonker.edu.system.entity.SysFunction;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by Apple on 2017/6/9.
 */
@Repository("sysFunctionDao")
public class SysFunctionDaoImpl extends BaseDaoImpl implements ISysFunctionDao {

    public List<SysFunction> queryAllSysFunction() {
        return this.selectList("SysFunctionMapper.queryAllSysFunction",null);
    }

    public int cresateSysFunction(SysFunction sysFunction) {
        return 0;
    }

    public void updateFunction(SysFunction sysFunction) {

    }

    public void updateFunctionParentId(Map<String, Object> paramrs) {

    }

    public void deleteFunctionByIds(String ids) {

    }

    public List<SysFunction> querySysUserFunction(int userId) {
        return null;
    }
}
